﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="~/control/getBuild.ascx" TagName="Build" TagPrefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <script src="javascript/jquery-1.7.min.js" type="text/javascript"></script>
    <script src="Admin/javascript/jquery.PrintArea.js" type="text/javascript"></script>
    <script src="Admin/javascript/datemanager.js"></script>


    <script type="text/javascript">

        function printorder(orderid) {
            $('#print_area').html('');
            $('#order_area_' + orderid).clone().appendTo($('#print_area'));
            $("#print_area").printArea();
          
        }

        var patrn = /\d+号/;

        console.log(patrn.test("思明区盘龙路"));

        var date = new Date().createByDate("2015-11-01");

 


    </script>

</head>
<body>

    <div id="print_area" style="display:none;"></div>
   
    <div>不打印</div>

    <input type="button" value="打印部分" onclick="printorder(1)" />


       <form runat="server">

       <asp:Button runat="server" ID="Button2" Text="开放平台接单" OnClick="query_Click" />


            <asp:Button runat="server" ID="Button1" Text="拉取测试" OnClick="pull_Click" />


            <asp:Button runat="server" ID="Button3" Text="添加测试" OnClick="add_Click" />



           </form>

    <div id="order_area_1">打印区域</div>
    
</body>
</html>
